package com.smartfactory.sail.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 王巨壁
 * @title: ItemMaterialDto
 * @projectName smart-sail
 * @description: 产品需要的原料Dto
 * @date 2019/7/2519:29
 */

@Data
public class ItemMaterialInfoDto {

    @ApiModelProperty(value = "原料id")
    @TableField("materialId")
    private Long materialId;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "材料质地")
    private String texture;

    @ApiModelProperty(value = "原料数量")
    private Integer size;

    @ApiModelProperty(value = "领料率百分比")
    @TableField("pickingRate")
    private Integer pickingRate;

    @ApiModelProperty(value = "表面处理")
    @TableField("surfaceTreatment")
    private String surfaceTreatment;

}
